


.header {
  position: relative;
  width : 1200 / 1920 * 100%;
  height: 110 / 1080 * $height;
  margin: 0 auto;
  background: url('../assets/img/home/header-title.png') center 0px no-repeat;
  background-size: 100% 100%;
  h1 {
    font-size: 36px;
    color: #49d9fe;
    font-weight: 600;
    line-height: 140 / 1080 * $height;
    text-align: center;
    margin-top: -10px;
  }
}

.login-user{
  position: absolute;
  top: 2%;
  right: 4%;
  .iconfont{
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    vertical-align: middle;
    transition: .4s all;
    &:hover{
      color: #49d9fe;
    }
  }
  .user-name{
    color: #fff;
    font-size: 15px;
    margin-right: 10px;
    vertical-align: middle;
  }
}

.nav{
  width: 100%;
  height: 55 / 1080 * $height;
  background-color: #255da4;
  text-align: center;
  overflow: hidden;
  margin-top: 25px;
  margin-bottom: 35px;
  ul{
    display: inline-block;
    width: 100%;
    line-height: 55 / 1080 * $height;
    font-size: 0;
  }
  li{
    display: inline-block;
    width: 226 / 1920 * 100%;
    height: 100%;
    font-size: 28px;
    text-align: center;
  }
  a{
    display: block;
    width: 100%;
    height: 100%;
    color: #ffffff;
    transition: .4s all;
    &:hover{
      color: #121c3c;
      background-color: #49d9fe;
    }
  }
}

.home-main{
  position: relative;
  width: 1760 / 1920 * 100%;
  margin: 0 auto;
  .left{
    float: left;
    width: 1010 / 1760 * 100%;
  }
  .right{
    position: relative;
    float: right;
    width: 662 / 1760 * 100%;
    height: 817 / 1080 * $height;
  }
}


.maparea{
  width: 100%;
  height: 817 / 1080 * $height;
  background: url('../assets/img/home/home-left.png') no-repeat center;
  background-size: 100% 100%;
  img{
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
  }
}


// 通知通告
.notice{
  position: relative;
  width: 100%;
  height: 440 / 817 * 100%;
  background: url('../assets/img/home/home-right-top.png') no-repeat center;
  background-size: 100% 100%;
  margin-bottom: percentH(40px);
  padding-top: 10px;
  box-sizing: border-box;
  h3{
    width: 566 / 662 * 100%;
    height: 50px;
    line-height: 50px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    background: url('../assets/img/home/notice-title.png') no-repeat center;
    background-size: 100% 100%;
  }
  .notice-list{
    width: 566 / 662 * 100%;
    margin: 0 auto;
  }
  .list-li{
    position: relative;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 0;
    border-bottom: 2px dashed #3564b3;
    &:before{
      position: relative;
      top: 6px;
      left: 5px;
      display: inline-block;
      content: '';
      border-left: 10px solid #ff7f31;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
    }
    .li-text{
      display: inline-block;
      width: 430 / 566 * 100%;
      color: #43c6ed;
      font-size: 16px;
      margin-left: 12px;
      vertical-align: middle;
      transition: .4s all;
      @include textoverflow;
      &:hover{
        color: #ffffff;
      }
    }
    .li-timer{
      position: absolute;
      top: 0;
      right: 0;
      display: inline-block;
      color: #43c6ed;
      font-size: 12px;
      vertical-align: middle;
    }
  }
}

.el-pagination{
  text-align: center;
  margin-top: 5px;
  li{
    color: #fff !important;
    border: 1px solid #ffffff !important;
    background-color: transparent !important;
    box-sizing: border-box;
    transition: .4s all;
    &:hover{
      color: #ff7f31 !important;
    }
  }
  li.active{
    background-color: #ff7f31 !important;
    border-color: #ff7f31 !important;
  }
  button{
    color: #fff !important;
    background-color: transparent !important;
    transition: .4s all;    
    &:hover{
      color: #ff7f31 !important;
    }
    &:disabled:hover{
      color: #fff !important;
    }
  }
}


// 消息提醒
.message{
  position: relative;
  width: 100%;
  height: 340 / 817 * 100%;
  background: url('../assets/img/home/home-right-bottom.png') no-repeat center;
  background-size: 100% 100%;
  h3{
    position: relative;
    top: 30 / 340 * 100%;
    left: 10 / 662 * 100%;
    width: 602 / 662 * 100%;
    height: 90px;
    color: #ffffff;
    font-size: 28px;
    background: url('../assets/img/home/message-title.png') no-repeat center;
    background-size: 100%;
  }
  p{
    position: absolute;
    top: 40%;
    left: 116 / 662 * 100%;
    transform: translateY(-50%);
  }
  .avater-wrapper{
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    // border: 1px solid #117fcc;
    box-sizing: border-box;
    &:after{
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      content: '';
      width: 40 / 75 * 100%;
      height: 32 / 75 * 100%;
      background: url('../assets/img/home/avater.png') no-repeat center;
      background-size: 100% 100%;
      transform: translateX(-50%) translateY(-50%);
    }
  }
  ul{
    position: absolute;
    top: 130 / 340 * 100%;
    left: 116 / 662 * 100%;
    width: 490 / 662 * 100%;
  }
  li{
    height: 45px;
    line-height: 45px;
    color: #ffffff;
    font-size: 20px;
    border-bottom: 1px dashed #3564b3;
    i{
      color: #ffa729;
    }
  }
}




@media screen and (max-device-height:900px) {
  .header {
    h1 {
      font-size: 32px;
    }
  }
  .nav{
    margin-top: 25px;
    margin-bottom: 30px;
    li{
      font-size: 24px;
    }
  }
  .notice{
    h3{
      height: 42px;
      line-height: 42px;
      font-size: 22px;
    }
    .list-li{
      height: 40px;
      line-height: 40px;
    }
  }
  .message{
    h3{
      height: 80px;
      font-size: 22px;
    }
    li{
      height: 40px;
      line-height: 40px;
      font-size: 18px;
    }
  }
}
@media screen and (max-device-height:768px) {
  .header {
    h1 {
      font-size: 30px;
    }
  }
  .nav{
    margin-top: 24px;
    margin-bottom: 28px;
    li{
      font-size: 20px;
    }
  }
  .notice{
    h3{
      height: 36px;
      line-height: 32px;
      font-size: 18px;
    }
    .list-li{
      height: 32px;
      line-height: 32px;
      .li-text{
        font-size: 15px;
      }
    }
  }
  .message{
    h3{
      height: 65px;
      font-size: 18px;
      top: 10px;
    }
    li{
      height: 36px;
      line-height: 36px;
      font-size: 16px;
    }
  }
}